import { get } from "@/utils/request";

import instance from "@/utils/request";

//获取token
export const getToken = (query) => get('/qxgl/login/getToken', query)
//刷新token
export const refresh_Token = (query) => get('/qxgl/login/refreshToken', query)
//获取用户信息
export const getUser = (query) => get('/qxgl/login/getUser', query)
//获取菜单信息
export const getMenuAndFunction = () => instance.get('/qxgl/getMenuAndFunction?platformId=e92ee242-497f-4077-9ba7-462265a6d03b')

